package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 资源表
 * </p>
 *
 * @author FSD
 * @since 2024-02-18
 */
@Getter
@Setter
@TableName("tb_oss")
@ApiModel(value = "Oss对象", description = "资源表")
public class Oss implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
      private Integer id;

    @ApiModelProperty("文件地址")
    private String url;

    @ApiModelProperty("文件类型（0 文件 1 视频）")
    private String type;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("创建人")
    private String createName;

    @ApiModelProperty("文件名字")
    private String name;

    @ApiModelProperty("备注")
    private String comment;


}
